package com.jyw.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 沈峻
 * @ClassName UserTeamPageVo
 * @Description TODO
 * @Date 2023/8/8 16:17
 **/
@ApiModel("用户小组分页查询返回实体")
@Data
public class UserTeamPageVo {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("用户主键")
    private Long userId;

    @ApiModelProperty("用户名称")
    private String userName;

    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("部门")
    private String deptName;

    @ApiModelProperty("手机号码")
    private String phonenumber;

    @ApiModelProperty("是否组长")
    private Integer isLeader;

    @ApiModelProperty("用户创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime createTime;
}
